package com.t.bricks.bussiness.service.recharge;

import com.t.bricks.bussiness.db.entity.recharge.Recharge;
import com.t.bricks.model.MsgEmity;

/**
 * 充值管理Recharge表基本业务操作类接口定义
 * 继承BaseService可直接实现通用方法
 * @author HuangXinBian
 * @DateTime 2022年07月14日 15:06:11
 * @param <T> 实体类
 */
public interface RechargeService {

	/**
	 * 标记删除
	 * @Param uId
	 * @Param iVersion
	 * @Param sRecordKey
	 * @return MsgEmity
	 */
	MsgEmity signDel(String uId, Integer iVersion, String sRecordKey);

	/**
	 * 移除删除标记
	 * @Param uId
	 * @Param iVersion
	 * @Param sRecordKey
	 * @return MsgEmity
	 */
	MsgEmity removeSignDel(String uId, Integer iVersion, String sRecordKey);

	/**
	 * 根据编号查询数据
	 * @Param uId
	 * @return MsgEmity
	 */
	MsgEmity findByPageRow(String uId);
	
	/**
	 * 查询分页信息
	 * @param sStates
	 * @param pageCurrent
	 * @param pageSize
	 * @return
	 */
	MsgEmity findByPage(String sStates, Integer pageCurrent, Integer pageSize);
	
	/**
	 * 同步更新顾客账户中的余额与积分
	 * @return
	 */
	MsgEmity changeCustomerAccount(Recharge recharge);
	
}
